package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审批模板分组关系对象 template_group
 * 
 * @author ruoyi
 * @date 2024-03-27
 */
public class TemplateGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 审批模板id */
    @Excel(name = "审批模板id")
    private String templateId;

    /** 分组id */
    @Excel(name = "分组id")
    private Long groupId;

    /** 序号 */
    @Excel(name = "序号")
    private String sortNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTemplateId(String templateId) 
    {
        this.templateId = templateId;
    }

    public String getTemplateId() 
    {
        return templateId;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setSortNum(String sortNum) 
    {
        this.sortNum = sortNum;
    }

    public String getSortNum() 
    {
        return sortNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("templateId", getTemplateId())
            .append("groupId", getGroupId())
            .append("sortNum", getSortNum())
            .toString();
    }
}
